public class test {
    public static void main(String[] args) {
        MySingleList mySingleList = new MySingleList();
        // mySingleList.createList();

        mySingleList.addFirst(12);
        mySingleList.addFirst(12);
        mySingleList.addFirst(12);
        mySingleList.addFirst(12);
        mySingleList.addFirst(12);
        mySingleList.addLast(12);

        // mySingleList.addIndex(2,60);
        // mySingleList.removeAllKey(12);
        mySingleList.clear();
        mySingleList.display();
        // System.out.println(mySingleList.size());

       // System.out.println(mySingleList.contains(12));

        // System.out.println();
    }
}
